package com.ruoyi.web.controller.vantController.customerController;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.system.domain.construction.StrategyPicture;
import com.ruoyi.system.service.construction.StrategyPictureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@RestController
@RequestMapping("/api/strategy/picture")
@CrossOrigin
public class ApiStrategyPictureController extends BaseController {

    @Autowired
    private StrategyPictureService strategyPictureService;

    @GetMapping(value = "/findAllPicById/{constructionStrategyId}")
    public List<StrategyPicture> findAllPicById(@PathVariable("constructionStrategyId") Long constructionStrategyId){
       List<StrategyPicture> list = strategyPictureService.findAllPicById(constructionStrategyId);
       return list;
    }




}
